import bus from "@/bus";
let data = {
  status: 'pass',
  totalItem: 1,
  pageSize: window.$pageSize,
  currentPage: 1,
  form: {
    companyname: '',
  },
  columns1: [{
    type: 'selection',
    width: 60,
    align: 'left',
  },{
    title: '单位编号',
    key: 'code',
    align: 'left',
  }, {
    title: '单位名称',
    key: 'code',
    align: 'left',
  }, {
    title: '助记码',
    key: 'title',
  }, {
    title: '区域名称',
    key: 'brandName',
    align: 'left',
  }],
  columns2: [ {
    title: '单位编号',
    key: 'code',
    align: 'left',
  }, {
    title: '单位名称',
    key: 'code',
    align: 'left',
  }, {
    title: '助记码',
    key: 'title',
  }, {
    title: '区域名称',
    key: 'brandName',
    align: 'left',
  }, {
    title: '操作',
    align: 'left',
    render: (h, params) => {
      return h('div', [
        h("Button", {
          props: {
            size: "small",
          },
          style: {
            marginRight: "5px"
          },
          on: {
            click:() => {
              bus.$emit("unbind", {item: params.row})
            }
          }
        }, '解绑'),
      ])
    }
  }],
  data: [{}]
}
export default data;
